home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / python2.4 / site-packages / sipconfig.py < prev    next >
Encoding:
Python Source  |  2007-02-19  |  388 b   |  19 lines

  1. # import the sipconfig.py for the normal or the debug build
  2.  
  3. import sys
  4.  
  5. try:
  6.     _pydebug_ = sys.pydebug
  7. except AttributeError:
  8.     _pydebug_ = False
  9.  
  10. if _pydebug_:
  11.     try:
  12.         from sipconfig_d import *
  13.     except ImportError, msg:
  14.         raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed'
  15. else:
  16.     from sipconfig_nd import *
  17.     
  18. del _pydebug_
  19.